module.exports = {
	name: '消息管理',
	model: [
		{
			title: '消息规则设置',
			name: 'messageRules',
			methods: ['page', 'edit', 'info'],
			path: '/message/rule'
		},
		{
			title: '消息规则设置状态修改',
			name: 'messageStatus',
			methods: 'change',
			path: '/message/rule/changeStatus'
		},

		{
			title: '消息列表',
			name: 'message',
			methods: ['page', 'remove'],
			path: '/message/infon'
		},
		{
			title: '更新消息已读状态',
			name: 'message',
			methods: 'update',
			path: '/message/infon/updateReaded',
			options: {
				method: 'put'
			}
		},
		{
			title: '获取未读条数',
			name: 'messagecount',
			methods: 'get',
			path: '/message/infon/unReadCount'
		},
		{
			title: '消息待处理列表',
			name: 'bisMessage',
			methods: ['page', 'remove'],
			path: '/message/bis'
		},
		{
			title: '消息待处理',
			name: 'bisMessage',
			methods: 'handler',
			path: '/message/bis/handler',
			options: {
				method: 'put'
			}
		}
	]
};
